/**
 * Copyright &copy; 2012-2016 <a href="https://shop450532966.taobao.com/">NumberOne</a> All rights reserved.
 */
package com.numberone.master.modules.sys.entity;

import org.hibernate.validator.constraints.Length;

import com.numberone.master.common.persistence.DataEntity;

/**
 * 公告管理Entity
 * @author ck
 * @version 2017-07-06
 */
public class NoticeInfo extends DataEntity<NoticeInfo> {
	
	private static final long serialVersionUID = 1L;
	private String names;		// 名称
	private String describes;		// 描述
	
	public NoticeInfo() {
		super();
	}

	public NoticeInfo(String id){
		super(id);
	}

	@Length(min=1, max=15, message="名称长度必须介于 1 和 15 之间")
	public String getNames() {
		return names;
	}

	public void setNames(String names) {
		this.names = names;
	}
	
	public String getDescribes() {
		return describes;
	}

	public void setDescribes(String describes) {
		this.describes = describes;
	}
	
}